package com.zhijiaoyun.service;

import com.zhijiaoyun.model.FastNavigation;
import com.zhijiaoyun.model.dto.PageList;

/**
 * @author shisfish
 * @date 2017/6/6
 */
public interface IFastNavigationService {

	FastNavigation getFastNavigationByName(String name);

	FastNavigation getFastNavigationByLinkUrl(String linkUrl);

	void addFastNavigation(FastNavigation fastNavigation);

	void modifyFastNavigation(FastNavigation fastNavigation);

	FastNavigation getNavigationByLinkUrlNotNavigationId(Long navigationId, String linkUrl);

	FastNavigation getNavigationByNameNotNavigationId(Long navigationId, String name);

	FastNavigation getFastNavigationByNavigationId(Long navigationId);

	PageList<FastNavigation> pageByParams(Integer pageIndex, String name, String linkUrl);

	void deleteFastNavigation(FastNavigation fastNavigation);

}
